package com.study.design.pattern.pattern.structural.facade;

/**
 * @Author: gongsl
 * @Date: 2025-03-09 12:03
 * @description: 物流系统实现类
 */
public class LogisticsServiceImpl {

    /**
     * 交付货物
     */
    public String deliverGoods(ProductInfo productInfo) {
        // 运单号
        String orderNo = "666";
        System.out.println(productInfo.getName() + "已发货，运单号为：" + orderNo);
        return orderNo;
    }
}
